//获取缓存
export function localGet (key) {
    const value = window.localStorage.getItem(key)
    try {
      return JSON.parse(window.localStorage.getItem(key))
    } catch (error) {
      return value
    }
}
//设置缓存  
export function localSet (key, value) {
    window.localStorage.setItem(key, JSON.stringify(value))
}
//删除缓存
export function localRemove (key) {
    window.localStorage.removeItem(key)
}
//单图上传
export const uploadImgServer = 'http://backend-api-02.newbee.ltd/manage-api/v1/upload/file'
  
